﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lm.Common.DAL
{
    public static class StringExt
    {
        public static bool ContainsSqlIn(this List<string> target, string parameter)
        { throw new Exception("仅用于生成sql查询的表达式树"); }
        public static bool NotContainsSqlNotIn(this List<string> target, string parameter)
        { throw new Exception("仅用于生成sql查询的表达式树"); }
        public static bool StartWithSqlLike(this string target, string parameter)
        { throw new Exception("仅用于生成sql查询的表达式树"); }
        public static bool NotStartWithSqlNotLike(this string target, string parameter)
        { throw new Exception("仅用于生成sql查询的表达式树"); }
        public static bool EndWithSqlLike(this string target, string parameter)
        { throw new Exception("仅用于生成sql查询的表达式树"); }
        public static bool NotEndWithSqlNotLike(this string target, string parameter)
        { throw new Exception("仅用于生成sql查询的表达式树"); }
        public static bool ContainsSqlLike(this string target, string parameter)
        { throw new Exception("仅用于生成sql查询的表达式树"); }
        public static bool NotContainsSqlNotLike(this string target, string parameter)
        { throw new Exception("仅用于生成sql查询的表达式树"); }
        public static bool IsNullSql(this object target)
        { throw new Exception("仅用于生成sql查询的表达式树"); }
        public static bool IsNotNullSql(this object target)
        { throw new Exception("仅用于生成sql查询的表达式树"); }
    }
}
